]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Remove this.actor definition to self
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 9 Apr 2019 23:25:41 +0000 (18:25 -0500)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 17 Apr 2019 21:32:18 +0000 (21:32 +0000)
Remove this.actor = actor, since the class is now an actor itself.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487

js/ui/panel.js

index ec6ae1537dae84d386dae2cd213c9251d6245af2..9790d4843c038b8caec1cc84e37fc7adc942dedd 100644 (file)
@@ -825,9 +825,6 @@ class Panel extends St.Widget {
         super._init({ name: 'panel',
                       reactive: true });
 
-        // For compatibility with extensions that still use the
-        // this.actor field
-        this.actor = this;
         this.set_offscreen_redirect(Clutter.OffscreenRedirect.ALWAYS);
 
         this._sessionStyle = null;